import { pretty, request } from "@/utils/request"

const serviceApi = '/api/EWRISService'

export const GetSearchTabList=()=>{
    return pretty(request({
        url: serviceApi + '/GetSearchTabMT',
        method: 'GET'
    }))
}
export const  doLogin = (data)=>{
    //
    return pretty(request({
        url: serviceApi + '/MTUserLogin',
        method: 'POST',
        data,
    }))
}

//保存个人查询条件
export const saveSearchFilter = (data)=>{
    return pretty(request({
        url: serviceApi + '/SaveSearchFilterParaMT',
        method: 'POST',
        data,
    }))
}
//获取个人查询条件
export const getSearchFilter = (data)=>{
    return pretty(request({
        url: serviceApi + '/GetSearchFilterParaMT',
        method: 'GET',
        data,
    }))
}
//GetExamInfoMT
export const getPatientList = (data)=>{
        return pretty(request({
        url: serviceApi + '/GetExamInfoMT',
        method: 'GET',
        data,
    }))
}

//保存核对记录
export const SaveScreenCheckMT=(data)=>{
    return pretty(request({
        url: serviceApi + '/SaveScreenCheckMT',
        method: 'POST',
        data,
    }))
}

// export const doLogin=()=>{
//     console.log('什么情况？');
// }